﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SCS.Core.Models.CollectionFontend
{
    public class EmailCampaignCollection
    {
        
            [Required(ErrorMessage = "*")]
            [DisplayName("Email Address")]
            [RegularExpression(@"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}", ErrorMessage = "Email không hợp lệ")]
            [DataType(DataType.EmailAddress)]
            public string Email { get; set; }

            public int ReceivedID { get; set; }


    }
}